package net.wds.ssbus.modules.ssbus.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@Repository
public class TbSsbusTaskEntrty {

  private String id;
  private String name;
  private Integer routeId;
  private String tasktime;
  private String tasktimeFormat;
  private Integer status;
  @ApiModelProperty(value = "最后运行时间",dataType = "java.util.date")
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date lastruntime;
  private Integer maxretry;
  private Integer retryinterval;
  private Integer faillog;
  private Integer commonlog;
  private String description;
  private Integer uversion;
  @ApiModelProperty(value = "添加时间",dataType = "java.util.date")
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date addTime;
  private String addUser;
  @ApiModelProperty(value = "修改时间",dataType = "java.util.date")
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date editTime;
  private String editUser;
  private String exechost;
  private String execport;

  private boolean startFlag;

}
